package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮播图对象 ga_carousel
 * 
 * @author ruoyi
 * @date 2021-11-18
 */
public class GaCarousel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String url;

    /** 跳转路径 */
    @Excel(name = "跳转路径")
    private String redirectUrl;

    /** 权重 */
    @Excel(name = "权重")
    private Long weight;

    /** 类型 */
    @Excel(name = "类型")
    private Long type;

    /** 被删除？ */
    @Excel(name = "被删除？")
    private Long isDeleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setRedirectUrl(String redirectUrl) 
    {
        this.redirectUrl = redirectUrl;
    }

    public String getRedirectUrl() 
    {
        return redirectUrl;
    }
    public void setWeight(Long weight) 
    {
        this.weight = weight;
    }

    public Long getWeight() 
    {
        return weight;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("url", getUrl())
            .append("redirectUrl", getRedirectUrl())
            .append("weight", getWeight())
            .append("type", getType())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
